import {request} from "@/network/request";

//获取推荐新音乐
export function getRecommendSingList() {
    return request({
        url: '/personalized/newsong',
    })
}

//获取推荐歌单
export function getPersonalized(limit) {
    return request({
        url: '/personalized',
        params: {
            limit: limit
        }
    })
}

//获取推荐电台
export function getDJProgram() {
    return request({
        url: '/personalized/djprogram',
    })
}

//获取独家放送
export function getPrivatecontent(limit) {
    return request({
        url: '/personalized/privatecontent/list',
        params: {
            limit: limit
        }
    })
}

//获取新碟上架
export function getTopAlbum(area, limit) {
    return request({
        url: '/album/new',
        params: {
            area: area,
            limit: limit,
        }
    })
}

//推荐歌手
export function getTopArtists(limit, offset) {
    return request({
        url: '/top/artists',
        params: {
            limit: limit,
            offset: offset,
        }
    })
}

//获取MV排行
export function getMVRankingList(limit, area, offset) {
    return request({
        url: '/top/mv',
        params: {
            limit: limit,
            area: area,
            offset: offset,
        }
    })
}

//歌单，网友精选碟
export function getTopPlaylist(limit, cat, order) {
    return request({
        url: '/top/playlist',
        params: {
            limit: limit,
            cat: cat,
            order: order
        }
    })
}
